<?php
include('../functions/db.php');
include('../functions/common.php');

if(isset($_GET['tomember'])&& !empty($_GET['tomember'])) {
    $tomember = mres($_GET['tomember']);
    $memid = getSmfMemberId($tomember);
    header("Location: ../forum/index.php?action=emailuser;sa=email;uid=$memid");
}
?>
